<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ice="http://www.icesoft.com/icefaces/component"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:icefusion="http://icefusion.googlecode.com/icefusion">
<body>
<ui:composition template="#{iceFusionConsts.templatePage}">
	<ui:define name="title">
		#{icecube['application.menu.presentation.tree']}
	</ui:define>
	<ui:define name="content">
		#{icecube['application.menu.presentation.tree.text']}
		<ice:form>
	        <ice:panelGrid>
				<ice:tree value="#{tree.model}" var="item"
	                      hideRootNode="false" hideNavigation="false"
	                      imageDir="#{iceFusionConsts.skinBase}/#{context.skin}/css-images/">
	                <ice:treeNode>
	                    <f:facet name="icon">
			                <ice:panelGroup style="display: inline" >
			                    <ice:graphicImage value="#{item.userObject.icon}"/>
			                </ice:panelGroup>
	                    </f:facet>
	                    <f:facet name="content">
			                <ice:panelGroup style="display: inline" >
		                        <ice:outputText value="#{item.userObject.text} "/>
			                </ice:panelGroup>
	                    </f:facet>
	                </ice:treeNode>
	            </ice:tree>
	        </ice:panelGrid>
		</ice:form>
   	</ui:define>
</ui:composition>
</body>
</html>